﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NEmu
{
    [Serializable]
    public abstract class MemoryPage : IDisposable
    {
        public abstract byte Read(ulong address);

        public abstract void Write(ulong address, byte value);

        public abstract ulong Size { get; }

        public abstract void Clear();

        #region IDisposable Members

        public abstract void Dispose();

        #endregion
    }
}
